package com.antu.first.util;

import java.util.Date;

/**
 * 自动生成时间戳的工具
 * Created by Administrator on 2018/3/5.
 */
public class IndentSequenceCreator {

    /**
     * 自动生成订单号 ：TUAN+时间戳+U+用户Id
     * @param uId
     * @return
     */
    public static String createSequence(int uId){
        return "TUAN"+new Date().getTime()+"U"+uId;
    }

}
